package log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author khaiLoon
 * @date 2018/11/24
 **/
public class SuperLog {
    private static Logger logger = LoggerFactory.getLogger(SuperLog.class);

    public static void main(String[] args) {

        Test test = new Test();
   //     logger.error("asdfasdfasdfasdf={}",test);


       LogUtil.error("12222222222222222={}",test);
    }

    private static class Test{
        private String name="xxxx";

        @Override
        public String toString() {
            return "Test{" +
                    "name='" + name + '\'' +
                    '}';
        }
    }
}
